package com.didispace.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class App {

    @RequestMapping("/home")
    public String home() {
        return "hello";
    }
}
// 启动一个返回"hello"的RESTfulAPI